﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KalevaAalto.DataPart.Excel.Base
{
    public abstract class BaseWorksheetElement
    {
        private BaseWorksheet _worksheet;
        public BaseWorksheetElement(BaseWorksheet worksheet)
        {
            _worksheet = worksheet;
        }

        public BaseWorksheet Worksheet => _worksheet;
        public BaseWorkbook Workbook=>_worksheet.Workbook;
    }
}
